package com.ruoyi.web.ydz.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户个人资料对象 user_document
 * 
 * @author ruoyi
 * @date 2024-11-11
 */
public class UserDocument extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /* 用户昵称 */
    @Excel(name = "用户昵称")
    private String userName;

    /** 科目ID */
    @Excel(name = "科目ID")
    private Long departmentId;

    /*科目名称*/
    private String departmentName;

    /** 疾病ID */
    @Excel(name = "疾病ID")
    private Long diseaseId;

    /*疾病名称*/
    private String diseaseName;

    /** 正在服用的药品 */
    @Excel(name = "正在服用的药品")
    private String drugName;

    /** 正在使用的疗法 */
    @Excel(name = "正在使用的疗法")
    private String therapy;

    /** 目前治疗效果 */
    @Excel(name = "目前治疗效果")
    private String treatmentEffect;

    /** 省ID */
    @Excel(name = "省ID")
    private Long provinceId;

    /*省名称*/
    private String provinceName;

    /** 市ID */
    @Excel(name = "市ID")
    private Long cityId;

    /*市名称*/
    private String cityName;

    /** 创建人名称 */
    @Excel(name = "创建人名称")
    private String createName;

    /** 更新人名称 */
    @Excel(name = "更新人名称")
    private String updateName;

    /*积分总数*/
    private Long points;

    /*用户等级*/
    private Long level;

    /*用户性别 0男 1女*/
    private String sexType;

    public String getSexType() {
        return sexType;
    }

    public void setSexType(String sexType) {
        this.sexType = sexType;
    }

    public Long getLevel() {
        return level;
    }

    public void setLevel(Long level) {
        this.level = level;
    }

    /** 是否删除（0否；1是） */
    private String delFlag;

    public String getDepartmentName() {
        return departmentName;
    }

    public void setDepartmentName(String departmentName) {
        this.departmentName = departmentName;
    }

    public String getDiseaseName() {
        return diseaseName;
    }

    public void setDiseaseName(String diseaseName) {
        this.diseaseName = diseaseName;
    }

    public String getProvinceName() {
        return provinceName;
    }

    public void setProvinceName(String provinceName) {
        this.provinceName = provinceName;
    }

    public String getCityName() {
        return cityName;
    }

    public void setCityName(String cityName) {
        this.cityName = cityName;
    }

    public Long getPoints() {
        return points;
    }

    public void setPoints(Long points) {
        this.points = points;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setDepartmentId(Long departmentId) 
    {
        this.departmentId = departmentId;
    }

    public Long getDepartmentId() 
    {
        return departmentId;
    }
    public void setDiseaseId(Long diseaseId) 
    {
        this.diseaseId = diseaseId;
    }

    public Long getDiseaseId() 
    {
        return diseaseId;
    }
    public void setDrugName(String drugName) 
    {
        this.drugName = drugName;
    }

    public String getDrugName() 
    {
        return drugName;
    }
    public void setTherapy(String therapy) 
    {
        this.therapy = therapy;
    }

    public String getTherapy() 
    {
        return therapy;
    }
    public void setTreatmentEffect(String treatmentEffect) 
    {
        this.treatmentEffect = treatmentEffect;
    }

    public String getTreatmentEffect() 
    {
        return treatmentEffect;
    }
    public void setProvinceId(Long provinceId) 
    {
        this.provinceId = provinceId;
    }

    public Long getProvinceId() 
    {
        return provinceId;
    }
    public void setCityId(Long cityId) 
    {
        this.cityId = cityId;
    }

    public Long getCityId() 
    {
        return cityId;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setUpdateName(String updateName) 
    {
        this.updateName = updateName;
    }

    public String getUpdateName() 
    {
        return updateName;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("departmentId", getDepartmentId())
            .append("diseaseId", getDiseaseId())
            .append("drugName", getDrugName())
            .append("therapy", getTherapy())
            .append("treatmentEffect", getTreatmentEffect())
            .append("provinceId", getProvinceId())
            .append("cityId", getCityId())
            .append("createBy", getCreateBy())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("remark", getRemark())
            .toString();
    }
}
